<template>
    <div class="article-detail">
        <el-dialog v-model="isShow" >
            <template #header>
                文章详情
            </template>
            <el-scrollbar height="300px">
                <p v-html="content" class="content"></p>
            </el-scrollbar>
        </el-dialog>
    </div>
</template>

<script setup>
import { ref,defineExpose,defineEmits } from 'vue';

const isShow = ref(false)
const content = ref('')
const open = (row)=>{
    content.value = row.content
    isShow.value = true
}
defineExpose({
    open
})
</script>


<style lang="scss">

</style>